{extend name='login/base'}
{block name='title'}
注册 - MetInfo 用户中心
{/block}
{block name='func'}
会员注册
{/block}
{block name='con'}
                <form method="post" class="met-form-validation" action="{:url('user_add')}">
                    <div class="form-group form-material floating">
                        <input type="email" class="form-control"  name="email" data-fv-notempty="true" data-fv-field="email" />
                        <label class="floating-label">登录邮箱</label>
                    </div>
                    <div class="form-group form-material floating">
                        <input
                        type="text"
                        class="form-control"
                        name="username"
                        data-fv-notempty="true"
                        maxlength="14"
                        minlength="2"
                        />
                        <label class="floating-label">用户名</label>
                    </div>
                    <div class="form-group form-material floating">
                        <input
                        type="password" class="form-control" name="password"
                        data-fv-notempty="true"
                        maxlength="16"
                        minlength="6"
                        />
                        <label class="floating-label">密码</label>
                    </div>
                    <div class="form-group form-material floating">
                        <input
                        type="password" class="form-control" name="PasswordCheck"
                        data-fv-identical="true"
                        data-fv-identical-field="password"
                        />
                        <label class="floating-label">密码确认</label>
                    </div>
                    <button type="submit" class="btn btn-primary btn-block btn-lg margin-top-40">注册</button>
                </form>
                <p>已经有账号了? 去 <a href="{:url('login')}">登录</a></p>
            </div>
        </div>
{/block}
